package com.ryskoo.common.dto.cms;

import com.ryskoo.common.constant.SystemConstant;
import com.ryskoo.common.dto.BasicDTO;

/**
 * 装修模板dto
 * @author thq
 * @data 2018-05-03
 */
public class ModuleDTO extends BasicDTO{

	private static final long serialVersionUID = 1893615787890946509L;

	/* 模块名称 */
	private String name;

	/* 模块分类 */
	/* 咨询、广告、商品等 */
	private int moduleCategory = SystemConstant.CONSTANT_ZERO;
	
	/* 模块缩略展示图 */
	private String img;

	/* 模块状态  true为启用 false为停用*/
	private boolean state = SystemConstant.CONSTANT_TRUE;

	/* 模块说明 */
	private String description;

	/* 模块文件名称 */
	private String fileName;

	/* 模块文件路径 */
	private String filePath;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getModuleCategory() {
		return moduleCategory;
	}

	public void setModuleCategory(int moduleCategory) {
		this.moduleCategory = moduleCategory;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public boolean isState() {
		return state;
	}

	public void setState(boolean state) {
		this.state = state;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	@Override
	public String toString() {
		return "ModuleDTO [name=" + name + ", moduleCategory=" + moduleCategory
				+ ", img=" + img + ", state=" + state + ", description="
				+ description + ", fileName=" + fileName + ", filePath="
				+ filePath + "]";
	}
	
}
